import request from '@/utils/request'


export function clotaProductAdd(data) {
  return request({
    url: `/clota/product`,
    method: 'post',
    data
    // params
  })
}

export function clotaProductEdit(data) {
  return request({
    url: `/clota/product`,
    method: 'put',
    data
    // params
  })
}

export function clotaProductList(params) {
  return request({
    url: `/clota/product/list`,
    method: 'get',
    params
  })
}

export function clotaProductDelete(configIds) {
  return request({
    url: `/clota/product/${configIds}`,
    method: 'delete',
  })
}

export function clotaProductDetails(configId) {
  return request({
    url: `/clota/product/${configId}`,
    method: 'get',
  })
}

export function clotaProductExport(params) {
  return request({
    url: `/clota/product/export`,
    method: 'get',
	params
  })
}

export function ticProductGetNowProduct() {
  return request({
    url: `/ticProduct/getNowProduct`,
    method: 'get',
  })
}

